package com.googlecode.linkmein;

import com.googlecode.linkmein.domain.Contact;
import com.googlecode.linkmein.domain.Name;
import com.googlecode.linkmein.domain.Project;
import com.googlecode.linkmein.domain.Resource;
import groovy.util.GroovyTestCase;

public class EmployeeDataTestCase extends GroovyTestCase {
    protected Resource hukai;
    protected Resource qyd;
    protected Resource ql;
    protected Resource wpc;
    protected Resource beachPM;
    protected Contact contactKHU;
    protected Contact contactQL;
    protected Contact contactQYD;
    protected Contact contactWPC;
    protected Contact contactNitin;
    protected static final Project CRUISE = new Project("Cruise");
    protected static final Project MINGLE = new Project("Mingle");
    protected Project beachProject;
    protected String googleId = "";

    public void setUp() throws Exception {
        beachProject = new Project("1");

        hukai = new Resource(new Name("Hu Kai", "胡凯"), "Dev", CRUISE);
        qyd = new Resource(new Name("Qiao Yandong", "小乔"), "QA", CRUISE);
        ql = new Resource(new Name("Qiao Liang", "乔梁"), "BA", CRUISE);
        wpc = new Resource(new Name("Wang Pengchao", "马超"), "Dev", MINGLE);
        beachPM = new Resource(new Name("Nitin Dhall", "Nitin"), "PM", beachProject);

        contactKHU = new Contact("Hu Kai（胡凯）", googleId, "", "zeeho_81", "zeeho_81@hotmail.com", "", "");
        contactQYD = new Contact("Qiao Yandong（小乔）", googleId, "", "yandongqiao_2007", "", "", "");
        contactQL = new Contact("Qiao Liang（乔梁）", googleId, "", "qiaoliang_email", "", "", "");
        contactWPC = new Contact("Wang Pengchao（马超）", googleId, "", "alex_hal9000", "", "", "");
        contactNitin = new Contact("Nitin Dhall", googleId, "", "", "", "", "");
    }
}
